//
//  MyYouHuiTableViewCell.m
//  ZhiBoYuan
//
//  Created by coder_di on 2018/4/17.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "MyYouHuiTableViewCell.h"

@implementation MyYouHuiTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //添加UI
        [self addUI];
    }
    return self;
}

-(void)addUI{
    self.imageVC = [[UIImageView alloc]initWithFrame:CGRectMake(20 * KscreenWidth, 20 * KscreenHeight,ScreenWidth - 40 * KscreenWidth, 150 * KscreenHeight)];
    //    self.imageVC.layer.masksToBounds = YES;
    //    self.headImageView.userInteractionEnabled = YES;
    //    self.imageVC.contentMode = UIViewContentModeScaleAspectFill;
    //    self.imageVC.clipsToBounds = YES;
    //    self.imageVC.layer.cornerRadius = 22.5 * KscreenWidth;
    
    self.imageVC.backgroundColor = [UIColor yellowColor];
    [self.contentView addSubview:self.imageVC];

    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
